package com.rinlink.gateway.jt808.common;

public enum CommonStatusCode implements StatusCode {

    SUCCESS("成功"),
    UNKNOWN_ERROR("未知错误"),
    TERMINAL_OFFLINE("设备不在线"),
    INVALID_PARAM("无效的参数");

    private String desc;

    CommonStatusCode(String desc) {
        this.desc = desc;
    }

    @Override
    public String value() {
        return this.name();
    }

    public String getDesc() {
        return desc;
    }
}
